package com.niuwa.p2p.entity.customer;

import java.io.Serializable;

/***********************************************************************
 * Module:  P2pCustomer.java
 * Author:  admin
 * Purpose: Defines the Class P2pCustomer
 ***********************************************************************/

/**
 * 客户信息表
 * 
 * @pdOid 24855af0-2913-4d67-bb7b-2acd2ed54d11
 */
public class Customer implements Serializable {

	private static final long serialVersionUID = 1151645962773595816L;
	/**
	 * 客户ID
	 * 
	 * @pdOid 92a86485-2741-422e-b8e1-7afffe7ed389
	 */
	public long id;
	/**
	 * 登录名
	 * 
	 * @pdOid d1629e15-bda8-4a05-ad58-215777633751
	 */
	public java.lang.String loginName;
	/**
	 * 登录密码
	 * 
	 * @pdOid af12344b-59e5-4e7f-b96e-1e9b03bc3297
	 */
	public java.lang.String loginPassword;
	/**
	 * 推荐码
	 * 
	 * @pdOid 20d05ad2-9526-4c3d-8990-04e3fe46491c
	 */
	public java.lang.String recommendCode;
	/**
	 * 客户状态
	 * 
	 * @pdOid c5dcd072-d286-4822-bd1e-91bc9c022f0c
	 */
	public java.lang.String custStatus;
	/**
	 * 登录错误次数
	 * 
	 * @pdOid c4b444f2-bb4c-43ce-abb6-c6d1c3658888
	 */
	public int pwdErrorCounter;
	/**
	 * 创建时间
	 * 
	 * @pdOid 2609aa20-fdb5-483c-b80d-4745d82233d9
	 */
	public java.util.Date createTime;
	/**
	 * 登录时间
	 * 
	 * @pdOid a550162f-6499-4b51-ab4f-d3dfd233be83
	 */
	public java.util.Date lastLoginTime;
	/**
	 * 最后修改时间
	 * 
	 * @pdOid f328ef99-d975-4e1a-810c-731a630ddd3d
	 */
	public java.util.Date lastUpdateTime;
	/**
	 * 交易密码
	 * 
	 * @pdOid 7a3a1e88-b977-46cf-bd18-8aa1d56fc3eb
	 */
	public java.lang.String payPwd;
	/**
	 * 注册来源
	 * 
	 * @pdOid 70ae5e95-b7c4-4cfd-ae38-c47038e87d6e
	 */
	public java.lang.String regSource;
	/**
	 * 注册设备
	 * 
	 * @pdOid 82eb0670-e4a3-4030-a902-47dbcf0f7c31
	 */
	public java.lang.String regDevice;
	/**
	 * 设备操作系统
	 * 
	 * @pdOid e37268fa-e3dd-4b37-87ba-4f065581bcad
	 */
	public java.lang.String regOs;
	/**
	 * 推荐人
	 * 
	 * @pdOid ad1232a6-9c2d-45f4-91a2-f0883bfb70bf
	 */
	public long referee;

	/**
	 * 登录IP
	 * 
	 * @pdOid 4c1663ed-c61b-4ceb-a517-7b097c0b37e7
	 */
	public java.lang.String loginIp;
	/**
	 * 锁定时间
	 * 
	 * @pdOid 17539f96-5ca3-4c70-9a59-d26c8ae6619a
	 */
	public java.util.Date lockTime;
	/**
	 * 登录次数
	 * 
	 * @pdOid 52c2205c-8635-4ee1-b896-5e7eb97835c2
	 */
	public int loginCount;
	/** @pdOid 172f26e4-975b-455f-a1ce-77187b308c3a */
	public java.lang.String custType;
	/**
	 * 手机号码
	 */
	public String mobile;
	/**
	 * 邮箱
	 */
	public String email;
	/**
	 * 账户状态
	 */
	public String accountStatus;
	
	/**
	 * 客户种类
	 */
	public String custKind;

	//------------注册、登录时使用---
	/*手机验证码*/
	public String smsCode;
	/*经度用于记录登录日志*/
	public String longitude;
	/*纬度用于记录登录日志*/
	public String latitude;

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(String smsCode) {
		this.smsCode = smsCode;
	}

	public long getId() {
		return id;
	}

	public String getCustKind() {
		return custKind;
	}

	public void setCustKind(String custKind) {
		this.custKind = custKind;
	}

	public void setId(long id) {
		this.id = id;
	}

	public java.lang.String getLoginName() {
		return loginName;
	}

	public void setLoginName(java.lang.String loginName) {
		this.loginName = loginName;
	}

	public java.lang.String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(java.lang.String loginPassword) {
		this.loginPassword = loginPassword;
	}

	public java.lang.String getRecommendCode() {
		return recommendCode;
	}

	public void setRecommendCode(java.lang.String recommendCode) {
		this.recommendCode = recommendCode;
	}

	public java.lang.String getCustStatus() {
		return custStatus;
	}

	public void setCustStatus(java.lang.String custStatus) {
		this.custStatus = custStatus;
	}

	public int getPwdErrorCounter() {
		return pwdErrorCounter;
	}

	public void setPwdErrorCounter(int pwdErrorCounter) {
		this.pwdErrorCounter = pwdErrorCounter;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(java.util.Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public java.util.Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(java.util.Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public java.lang.String getPayPwd() {
		return payPwd;
	}

	public void setPayPwd(java.lang.String payPwd) {
		this.payPwd = payPwd;
	}

	public java.lang.String getRegSource() {
		return regSource;
	}

	public void setRegSource(java.lang.String regSource) {
		this.regSource = regSource;
	}

	public java.lang.String getRegDevice() {
		return regDevice;
	}

	public void setRegDevice(java.lang.String regDevice) {
		this.regDevice = regDevice;
	}

	public java.lang.String getRegOs() {
		return regOs;
	}

	public void setRegOs(java.lang.String regOs) {
		this.regOs = regOs;
	}

	public long getReferee() {
		return referee;
	}

	public void setReferee(long referee) {
		this.referee = referee;
	}

	public java.lang.String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(java.lang.String loginIp) {
		this.loginIp = loginIp;
	}

	public java.util.Date getLockTime() {
		return lockTime;
	}

	public void setLockTime(java.util.Date lockTime) {
		this.lockTime = lockTime;
	}

	public int getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(int loginCount) {
		this.loginCount = loginCount;
	}

	public java.lang.String getCustType() {
		return custType;
	}

	public void setCustType(java.lang.String custType) {
		this.custType = custType;
	}

	public String getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(String accountStatus) {
		this.accountStatus = accountStatus;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
}